import { Select } from 'antd';
import { STATIC } from '@/services/config';

const OrganizationType = (props = {}) => {
  
  const options = STATIC.organizationType;
  return (
    <Select allowClear placeholder='请选择机构类型' {...props}>
      {options.map((item) => (
        <Select.Option value={item.value} key={item.value}>{item.name}</Select.Option>
      ))}
    </Select>
  )
}

export default OrganizationType
